import 'package:flutter/material.dart';
import 'package:flutter_shop_z/model/category_sub.dart';

//管理变量类（类似于一个小型数据库）
class ChildCategory with ChangeNotifier {
  List<CategorySub> categorySubList = [];
  getChildCategory(List list) {
    categorySubList = list;
    notifyListeners();
  }
}
